/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ids.dl;

import ids.util.FileUtil;
import java.util.ArrayList;
import semanticsearch.engine.Engine;

/**
 *
 * @author isuru
 */
public class SementicSearch {

    private boolean isSearchActive = true;
    private Engine engine = new Engine();

    public ArrayList<String> doSearch(String keyWord, ArrayList<String> filePaths) {
       
        ArrayList<String> searchResults;
        searchResults = engine.doSearch(keyWord, filePaths);
        
        return searchResults;
    }

    public void stopSearch() {
        isSearchActive = false;
    }
}
